package com.ljx.funchat.common.event;

import com.ljx.funchat.chat.domain.entity.Redbag;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

@Getter
public class RedbagSendEvent extends ApplicationEvent {

    private Long uid;

    private Redbag redbag;

    public RedbagSendEvent(Object source, Long uid, Redbag redbag) {
        super(source);
        this.redbag = redbag;
        this.uid = uid;
    }
}
